import { getYmd, lunar, weeksInYear, weeksInMonth } from '../../../../components/modules/calendar/index'

const _today = getYmd()
_today.timestamp = (new Date(`${_today.year}/${_today.month}/${_today.day}`)).getTime()
const lDate = lunar.solar2lunar(_today.year, _today.month, _today.day)
_today.lunarDate = lDate

export const today = _today
export const daystamp = 24*60*60*1000

export const passWeekOfMonth = weeksInMonth()
export const passWeekOfYear = weeksInYear()
